package com.tengju.motivation.domain.model.performance;

import java.util.List;

/**
 * @author: 李大仙
 * @date: 2021/7/22 3:07 下午
 */
public interface MotivationActivityConfigRepository {

    int add(MotivationActivityConfig motivationActivityConfig);

    int getTotal(String title);

    List<MotivationActivityConfig> queryByTitlePage(String title, Integer offset, Integer pageSize);

    MotivationActivityConfig getByActivityId(MotivationActivityConfigId motivationActivityConfigId);

    int save(MotivationActivityConfig motivationActivityConfig);

    int edit(MotivationActivityConfig motivationActivityConfig);

    int remove(MotivationActivityConfigId activityId);
}
